home *** CD-ROM | disk | FTP | other *** search
- property ancestor, pXMinLoc
-
- on new me, buttonName, castName, xSprite, xLoc, descendant
- ancestor = new(script("generic button"), buttonName, castName, xSprite, xLoc, me)
- pXMinLoc = xLoc.locH
- return me
- end
-
- on performFunction me
- tell the stage
- playSFX(7)
- end tell
- ResizeLayOutScreen()
- return me
- end
-
- on buttonLoc me, size
- set the locH of sprite the pChannel of me to getAt([pXMinLoc, 634], size)
- return me
- end
-